import { BroadCastCall } from "../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../Framework/MQ/MessageBlock";
import { SErrorMsg } from "../../../../Message/Public/SErrorMsg";
import { MsgManager } from "../../manager/MsgManager";
//class ErrorMsgCommand
    
    export  class ErrorMsgCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            var loc1=arg1.messageBase as SErrorMsg;
            MsgManager.systemError(loc1);
            return;
        }
    }
